import Vue from 'vue'
import Antd, { Menu, Button, ConfigProvider } from 'ant-design-vue'
import VueRouter from 'vue-router'
import 'ant-design-vue/dist/antd.css'
import App from './App.vue'
import routes from './routes'
import startQiankun from './micro'

startQiankun();
Vue.config.productionTip = false
// Vue.use(Antd)
Vue.use(ConfigProvider)
Vue.use(Menu)
Vue.use(Button)
Vue.use(VueRouter)
const router = new VueRouter({
  mode: 'history',
  routes,
})

new Vue({
  router,
  render: h => h(App),
}).$mount('#main-app')
